function allOrder() {
    window.location.href = "../GetOrderServlet?state=0";
}



function select(url) {
    var id = document.getElementById(url.id);
    var state = document.getElementsByClassName("state1");
    for (var i = 0; i < state.length; i++) {
        if (id === state[i]) {
            state[i].classList.add("active");
            window.location.href = "GetOrderServlet?state=" + i;
        } else {
            state[i].classList.remove("active");
        }
    }
}

function my_star() {
    window.location.href = "my_likafu/personal.jsp";
}